﻿/* A Particular Container Resource */
CREATE TABLE DBLiveObjects.DBContainerResource(
	ID							uniqueidentifier PRIMARY KEY,				/* Unique GUID for this object */
	DBContainerID 				uniqueidentifier NOT NULL,					/* Belongs to a container */
	DBResourceID				uniqueidentifier NOT NULL,					/* References a particular resource */

    FOREIGN KEY(DBContainerID) REFERENCES DBLiveObjects.DBContainer(ID) ON DELETE CASCADE,
    FOREIGN KEY(DBResourceID) REFERENCES DBLiveObjects.DBResource(ID) ON DELETE CASCADE,
    
    _InsertionStamp							bigint,
	_UpdateStamp							bigint,
);